/*=========================================================================================
  File Name: sidebarItems.js
  Description: Sidebar Items list. Add / Remove menu items from here.
  Strucutre:
          url     => router path
          name    => name to display in sidebar
          slug    => router path name
          icon    => Feather Icon component/icon name
          tag     => text to display on badge
          tagColor  => class to apply on badge element
          i18n    => Internationalization
          submenu   => submenu of current item (current item will become dropdown )
                NOTE: Submenu don't have any icon(you can add icon if u want to display)
          isDisabled  => disable sidebar item/group
==========================================================================================*/

export default [
  // {
  //   url: "/",
  //   name: "首页",
  //   icon: "AirplayIcon",
  // },
  {
    url: null,
    /*name: "桥梁信息",*/
    name: "基础信息",
    icon: "FilePlusIcon",
    submenu: [{
      url: "/bridgeInformation/bridgeManagement",
      name: "桥梁管理"
    },
      /*南通桥梁新增*/
      {
        url: "/bridgeInformation/bridgeList",
        name: "桥梁列表"
      },
      {
        url: "/bridgeInformation/recordManage",
        name: "档案管理"
      },
      {
        url: "/bridgeInformation/knowledgeStock",
        name: "知识库"
      },
      {
        url: "/bridgeInformation/bridgeEvent",
        name: "桥梁大事记"
      },



      /* {
         url: "/bridgeInformation/archivesManagement",
         name: "档案管理"
       },*/
      /*      {
              url: "/bridgeInformation/mearsuringPointSetting",
              name: "测点管理"
            },*/
      {
        url: "/bridgeInformation/equipmentManagement",
        name: "设备管理"
      },
      /*  {
          url: "/bridgeInformation/bridgeData",
          name: "数据分类"
        },*/
      //4.7日添加
      {
        url: "/bridgeInformation/bridgeInfo",
        name: "一桥一档"
      },
    ]
  },
  {
    url: null,
    name: "健康监测",
    icon: "ZapIcon",
    submenu: [{
      url: "/healthMonitor/statistical",
      name: "统计分析"
    },
      {
        url: "/healthMonitor/allMonitor",
        name: "整体监测"
      },
      // {
      //   url: "/healthMonitor/onlyMonitor",
      //   name: "单桥展示"
      // },
      {
        url: "/healthMonitor/RealMonitor",
        name: "实时监测"
      },
      {
        url: "/healthMonitor/RealLoad",
        name: "实时荷载"
      },
      {
        url: "/healthMonitor/WarningList",
        name: "报警列表"
      },
    ]
  },
  //监测分析
  {
    url: null,
    name: "监测分析",
    icon: "BarChartIcon",
    submenu: [{
      url: "/statisticAlanalysis/environmentAlanalysis",
      name: "环境分析"
    },
      {
        url: "/statisticAlanalysis/structureTemperature",
        name: "结构温度分析"
      },
      {
        url: "/statisticAlanalysis/stressAmplitude",
        name: "应力幅值分析"
      },
      {
        url: "/statisticAlanalysis/displacementTrend",
        name: "位移趋势分析"
      },
      //10.20日添加
      {
        url: "/statisticAlanalysis/deflectionAnalysis",
        name: "挠度分析"
      },
      {
        url: "/statisticAlanalysis/inclinationAnalysis",
        name: "倾角分析"
      },
      {
        url: "/statisticAlanalysis/accelerationAnalysis",
        name: "加速度分析"
      },
      {
        url: "/statisticAlanalysis/cableAnalysis",
        name: "索力分析"
      },
    ]
  },
  //巡检管理
  {
    url: null,
    name: "日常巡检",
    icon: "TrelloIcon",
    submenu: [
      /*  {
        url: "/inspection/inspTmpl",
        name: "巡检模板"
      },*/
      /*{
        url: "/inspection/inspPlan",
        name: "巡检计划"
      },*/
      /*{
        url: "/inspection/inspTask",
        name: "巡检任务"
      },*/
      /*{
        url: "/inspection/inspHistory",
        name: "巡检记录"
      },*/
      /* {
         url: "/inspection/inspTotal",
         name: "巡检统计"
       },*/



      //4.6添加
      {
        url: "/inspection/inspManage",
        name: "出勤管理"
      },
      {
        url: "/inspection/regularInspection",
        name: "定期检查"
      },
      {
        url: "/inspection/inspectionPlan",
        name: "巡检计划"
      },
      {
        url: "/inspection/inspectionTask",
        name: "巡检任务"
      },
      {
        url: "/inspection/problemReport",
        name: "问题上报"
      },
    ]
  },

  //4.25添加统计分析
  {
    url: null,
    name: "统计分析",
    icon: "ZapOffIcon",
    submenu: [{
      url: "/statisticAnalysis/evaluate",
      name: "管养考评"
    },
      {
        url: "/statisticAnalysis/bigData",
        name: "管养大数据"
      },
    ]
  },

  //5.7添加桥梁评定
  {
    url: null,
    name: "桥梁评定",
    icon: "EditIcon",
    submenu: [{
      url: "/bridgeJudge/manage",
      name: "桥梁结构管理"
    },
      {
        url: "/bridgeJudge/judge",
        name: "桥梁评定"
      },
    ]
  },

  //5.11定期检查
 /* {
    url: null,
    name: "定期检查",
    icon: "YoutubeIcon",
    submenu: [{
      url: "/regularInspect/regularTask",
      name: "定检任务"
    },
      {
        url: "/regularInspect/regularRecord",
        name: "定检记录"
      },
    ]
  },*/

  // 养护维修
  {
    url: null,
    name: "养护维修",
    icon: "FolderPlusIcon",
    submenu: [
      /* {
       url: "/curing/maintain",
       name: "小修保养"
     },*/ /*{
      url: "/curing/plan",
      name: "养护计划"
    },*/ /*{
      url: "/curing/task",
      name: "养护任务",
      subUrl: [
        "/curing/addTask"
      ]
    },*/ /*{
      url: "/curing/record",
      name: "养护记录"
    },*/ /*{
      url: "/curing/total",
      name: "养护统计"
    },*/{
        url: "/curing/curingTask",
        name: "养护任务单"
      },{
        url: "/curing/curingStatistics",
        name: "南通养护统计"
      },{
        url: "/curing/maintenance",
        name: "大中修"
      }
    ]
  },
  /*  {
      url: null,
      name: "人员管理",
      icon: "UsersIcon",
      submenu: [{
          url: "/personManage/PersonManage",
          name: "人员管理"
        },

      ]
    },*/
  {
    url: null,
    name: "知识库",
    icon: "BoxIcon",
    submenu: [{
      url: "/knowledgeBase/Structure",
      name: "结构与病害"
    }, {
      url: "/knowledgeBase/history",
      name: "小修保养"
    },

    ]
  },
  {
    url: null,
    name: "系统管理",
    icon: "SettingsIcon",
    submenu: [{
      url: "/system-manage/access-control/site-manage/SiteManage",
      name: "桥梁管理"
    },
      {
        url: "/system-manage/access-control/resource-manage/resource",
        name: "资源管理"
      },
      {
        url: "/system-manage/access-control/department-manage/department",
        name: "部门管理"
      },
      {
        url: "/system-manage/access-control/role-manage/role",
        name: "角色管理"
      },
      {
        url: "/system-manage/access-control/views-manage/Views",
        name: "视图管理"
      },
      {
        url: "/system-manage/access-control/user-group-manage/UserGroup",
        name: "用户组管理"
      },
      {
        url: "/system-manage/access-control/user-manage/User",
        name: "用户管理"
      }
    ]
  }
];
